//
//  Response.swift
//  guard
//
//  Created by linus on 2021/11/20.
//

import UIKit

class Response: NSObject {
    private var _code: Int?
    public var code: Int? {
        get { _code }
        set { _code = newValue }
    }
    
    private var _message: String?
    public var message: String? {
        get { _message }
        set { _message = newValue }
    }
    
    private var _data: NSDictionary?
    public var data: NSDictionary? {
        get { _data }
        set { _data = newValue }
    }
    
    override init() {}
    init(code: Int, message: String, obj: NSDictionary?) {
        super.init()
        self.code = code
        self.message = message
        self.data = obj
    }
}
